immutable object造句
例句与造句
- Immutable objects can greatly simplify your life
不变对象能极大地简化您的生活 - Problem 1 : immutable objects weren t
问题1 :不可变对象不是不可变的 - Be primitive types or references to immutable objects
必须是原语类型或是对不可变对象的引用。 - If you wish to create immutable objects using
如果您想要使用 - Immutable objects are much easier to work with than mutable objects
使用不变对象比使用可变对象要容易得多。 - It's difficult to find immutable object in a sentence. 用immutable object造句挺难的
- Immutable objects make the best
不变对象产生最好的 - Immutable objects , like
)不可变对象(如 - An immutable object is one whose externally visible state cannot change after it is instantiated
不变对象是指在实例化后其外部可见状态无法更改的对象。 - Immutable objects are guaranteed to be thread - safe , and never require additional synchronization
不可变的对象一定是线程安全的,并且永远也不需要额外的同步。 - References to immutable objects , the class becomes immutable itself - a very convenient situation indeed
引用,那么该类本身就变成是不变的事实上这是一个非常方便的情况。 - " and others , i extolled the virtues of immutability - immutable objects cannot get into an inconsistent state
” (和其他文章中) ,我赞扬了不可变的优点,不可变对象不能进入不稳定的状态。 - Keyword , and you can freely share and cache references to immutable objects without having to copy or clone them
关键字保证的) ,并且您可以随意共享和缓存对不可变对象的引用,而不必复制或者克隆它们。 - There can be no side effects on immutable objects , and caching a reference to an immutable object is always safe from alias problems
不可变对象上没有副作用,并且缓存不可变对象的引用总是安全的,不会出现别名问题。 - Classes in the java class library are examples of immutable objects - they represent a single value that cannot change over the lifetime of the object
类就是不变对象的示例它们表示在对象的生命期内无法更改的单个值。 - Finally , a bug in the java compiler makes it impossible to reliably create immutable objects when inner classes are on the scene
最后,当使用内部类( inner class )后,在java编译器中的一个错误使它无法可靠地创建不变对象。
更多例句: 下一页